//定义小仓库数据state类型
import type {RouteRecordRaw} from "vue-router";
import type {T_CategoryObj} from "../../../api/product/attr/type.ts";

export interface UserState {
    token: string | null;
    menuRoutes: RouteRecordRaw[];
    username: string;
    avatar: string;
}


//定义分类仓库state类型
export interface T_CategoryState {
    c1Id: string | number,
    c1Arr: T_CategoryObj[],
    c2Arr: T_CategoryObj[]
    c2Id: string | number,
    c3Arr: T_CategoryObj[],
    c3Id: string | number
}